package org.jeecg.modules.demo.template.vo;

import java.util.List;
import org.jeecg.modules.demo.template.entity.BwDj;
import org.jeecg.modules.demo.template.entity.BwDjlb;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 单价表
 * @Author: jeecg-boot
 * @Date:   2024-11-11
 * @Version: V1.0
 */
@Data
@ApiModel(value="bw_djPage对象", description="单价表")
public class BwDjPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**单价的名称*/
	@Excel(name = "单价的名称", width = 15)
	@ApiModelProperty(value = "单价的名称")
    private String name;
	/**费率类型*/
	@Excel(name = "费率类型", width = 15, dicCode = "dj_type")
    @Dict(dicCode = "dj_type")
	@ApiModelProperty(value = "费率类型")
    private Integer type;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
    private String remark;
	/**是否开启模板结算时间结算0 开启 1 关闭 默认关闭 按照抄表时间扣款*/
	@Excel(name = "是否开启模板结算时间结算0 开启 1 关闭 默认关闭 按照抄表时间扣款", width = 15)
	@ApiModelProperty(value = "是否开启模板结算时间结算0 开启 1 关闭 默认关闭 按照抄表时间扣款")
    private Integer isSettlement;
	/**结算时间 cron 表达式*/
	@Excel(name = "结算时间 cron 表达式", width = 15)
	@ApiModelProperty(value = "结算时间 cron 表达式")
    private String settlementCron;
	/**逻辑删除*/
	@Excel(name = "逻辑删除", width = 15)
	@ApiModelProperty(value = "逻辑删除")
    private Integer isDel;

	@ExcelCollection(name="单价详情表")
	@ApiModelProperty(value = "单价详情表")
	private List<BwDjlb> bwDjlbList;

}
